@charset "UTF-8";
.imdetail_box {
  height: 100vh;
  background: #f4f4f4;
  overflow: hidden;
  padding-top: 3.5rem;
  overflow-y: scroll;
}

.imdetail_box .imdetail_top_box {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  font-size: 1.2rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

.imdetail_box .imdetail_content_box {
  background: #fff;
  padding: 0 1rem;
}

.imdetail_box .imdetail_content_box .imdetail_title {
  font-size: 1.3rem;
  font-weight: bold;
  font-family: "等线";
  padding: 0.6rem 0;
  color: #333;
  line-height: 1.7rem;
}

.imdetail_box .imdetail_content_box .imdetail_info {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 0.85rem;
  color: #777;
}

.imdetail_box .imdetail_content_box .imdetail_info .imdetail_info_time {
  margin-left: 1rem;
}

.imdetail_box .imdetail_content_box .imdetail_content {
  line-height: 1.7rem;
}

.imdetail_box .imdetail_content_box .imdetail_content .article > p {
  text-indent: 1rem;
  letter-spacing: 0.1rem;
}

.imdetail_box .imdetail_content_box .imdetail_content .image-wrap img {
  width: 100%;
}

.imdetail_box .Skeleton {
  padding: 1rem;
  background: #fff;
}

/* 收藏按钮样式 */
.collection-button {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.collection-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.collection-button img {
  width: 2rem;
  height: 2rem;
  transition: all 0.3s ease;
}

.collection-button img.collecting {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
